package com.heisenhub.file.controller;


import com.heisenhub.common.db.controller.AbstractController;
import com.heisenhub.file.common.enums.FileEnums;
import com.heisenhub.file.dto.OpFileDto;
import com.heisenhub.file.entity.OpFile;
import com.heisenhub.file.query.OpFileQuery;
import com.heisenhub.file.service.IOpFileService;
import com.heisnenhub.common.module.inter.BusinessTypeEnumsInter;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author sen
 * @since 2024-03-06
 */
@RestController
@RequestMapping("/opfile")
public class OpFileController extends AbstractController<OpFile, OpFileDto, OpFileQuery, IOpFileService> {

    @Override
    public BusinessTypeEnumsInter getBusinessTypeEnums() {
        return FileEnums.FILE;
    }
}
